upstream {{ upstream_name }} {
{% for n in range(7,9) %}
    server 172.16.1.{{ n }}:8080;
{% endfor %}
}
server {
    listen {{ lb_port }};
    server_name {{ server_name }};
    location / {
        proxy_pass http://{{ upstream_name }};
        include {{ proxy_params }};
    }
} 